package com.ficus.road.maintain.file;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author xiawen yang
 * @date 2022/6/20 下午3:34
 */
@Configuration
@ConfigurationProperties(prefix = "obs")
@Data
public class OBSClientConfig extends FileClientConfig {

    public static final String urlPrefix = "aliyuncs.com/";
    //图片过期时间 1年
    public static long FILE_EXPIRATION_TIME = 3600 * 24 * 365;
}
